package cn.csc.module.pay.api.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 支付单提交 Response DTO
 */
@Data
public class PayOrderSubmitRespDTO {

    @ApiModelProperty(value = "展示模式", required = true, example = "url") // 参见 PayDisplayModeEnum 枚举
    private String displayMode;

    @ApiModelProperty(value = "展示内容", required = true)
    private String displayContent;

    @ApiModelProperty(value = "商户订单号", required = true)
    private String merchantOrderNo;

    @ApiModelProperty(value = "交易单号", required = true)
    private String tradeNo;

    /**
     * 调用渠道的错误码
     *
     * 注意：这里返回的是业务异常，而是不系统异常。
     */
    private String channelErrorCode;
    /**
     * 调用渠道报错时，错误信息
     */
    private String channelErrorMsg;

}
